package com.sparrow.source.persistense;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author bryceyung
 * @since 2024/11/25
 */
@Data
@TableName(value = "ias_verify_report")
public class IasVerifyReport {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer seq;

    private Integer deviceId;

    private Long faceId;

    private Long uid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "report_time")
    private Date reportTime;

    private Integer matchRes;

    private Integer checkType;

    private String respInfo;

    @TableField(exist = false)
    private String faceData;

}
